PathMakeWithPoints
Type
operator
Summary
Creates a new path.
Syntax
( polygon | polyline ) path with points <mPoints>
Description
Creates a new path.
Parameters
Name | Type | Description |
---|---|---|
mPoints | An expression which evaluates to a list of points. |
Examples
// Create a polyline path
variable tPath as Path
put polyline path with points [point [0,0], point [25,50], point [75,50], point [50,0]] into tPath
// Create a closed polygon path (rhombus)
variable tPath as Path
put polygon path with points [point [0,0], point [25,50], point [75,50], point [50,0]] into tPath